﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="DengXin_list.aspx.cs" Inherits="DengXin_list" %>
<%@ MasterType VirtualPath="~/MasterPage/MasterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    #outtable{ width:100%; border-collapse:collapse; empty-cells:show; }
    #outtable #outleft{ width:220px; vertical-align:top;}
    #outtable #outright{ vertical-align:top;}
    #outtable #outright #book_title{width:600px; left:50%; margin-left:-300px; margin-bottom:30px; padding-top:15px; border-bottom :1px solid #996633; 
                                    position:relative; text-align:center; font-size:25px;  padding-bottom :10px;}
    #outtable #outright #con_body{ position:relative; width:520px; left:50%; margin-left:-260px; }
    #outtable #outright #con_body table{width:100%; border-collapse:collapse; empty-cells:show;}
    #outtable #outright #con_body table tr{ vertical-align:bottom;}
    #outtable #outright #con_body table td{ height:24px;}
    #outtable #outright #con_body table .td_periods{ text-align:center; font-size:20px; color:Blue;}
    #outtable #outright #con_body table .td_left{ width:70%; border-bottom: #DDDDDD 1px dashed; color:Red;}
    #outtable #outright #con_body table .td_right{ width:30%; text-align:right; border-bottom: #DDDDDD 1px dashed;}
</style>
<script type="text/javascript">
    jQuery(document).ready(
    function () {
        DD_belatedPNG.fix(".ddpngFix");
    });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table id="outtable">
        <tr >
            <td id="outleft" > 
               <div id="dx_left_top_body">
                  <div  class="ddpngFix" style=" width:216px; height:23px;background:url(<%=ResolveUrl("~/images/dengxin_top.png")%>) no-repeat;"></div>
                  <div  class="ddpngFix" style=" width:216px; min-height:100px;background:url(<%=ResolveUrl("~/images/dengxin_center.png")%>) repeat-y;">
                      <asp:Image ID="Cover" runat="server" Visible="false" style=" margin-left:15px; width:185px;" />
                      <br />
                      <span style=" margin-left:15px;">出版年份：<asp:Label ID="PublishYear_lb" runat="server" ></asp:Label></span>
                  </div>
                  <div  class="ddpngFix" style=" width:216px; height:23px;background:url(<%=ResolveUrl("~/images/dengxin_buttom.png")%>) no-repeat;"></div>
               </div>
            </td>
            <td id="outright">
                <div id="dx_right_top_body">
                    <div  class="ddpngFix" style=" width:675px; height:21px;background:url(<%=ResolveUrl("~/images/con_top.png")%>) no-repeat;"></div>
                    <div  class="ddpngFix" style=" width:675px; min-height:500px;background:url(<%=ResolveUrl("~/images/con_cen.png")%>) repeat-y;">
                        <div id="book_title">
                            <asp:Label ID="PeriodsTitle" runat="server" ></asp:Label>
                        </div>
                        <div id="con_body">
                            <table>
                                <asp:Repeater ID="Periods_repeater" runat="server" OnItemDataBound="Periods_repeater_ItemDataBound">
                                    <ItemTemplate>
                                        <tr>
                                            <td class="td_periods" colspan="2">
                                                <asp:Label ID="CatalogueId" runat="server" Visible="false" Text='<%# Eval("CatalogueId")%>'></asp:Label>
                                                <%# Eval("ChapterName")%>
                                            </td>
                                        </tr>
                                        <asp:Repeater ID="article_repeater" runat="server">
                                            <ItemTemplate>
                                                <tr  onmousemove="javascript:this.bgColor='#ECECEC'"  onmouseout="javascript:this.bgColor=''">
                                                    <td class="td_left">
                                                        <img border="0" src='<%=ResolveUrl("~/images/pot_2.gif")%>' alt="">
                                                        <a  href= '<%#ResolveUrl("~/DengXin-"+Eval("PeriodsId")+"-"+Eval("ChapterId")+"-"+Eval("id")+".aspx")%>'  target="_blank">
                                                           <%# Eval("NewTitle")%>
                                                        </a>
                                                        (人气<%# Eval("hits")%>)
                                                    </td>
                                                    <td class="td_right"><%# Eval("Author")%></td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <tr><td colspan="2"></td></tr>
                                        <tr><td colspan="2"></td></tr>
                                        <tr><td colspan="2"></td></tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
                    </div>
                    <div  class="ddpngFix" style=" width:675px; height:21px;background:url(<%=ResolveUrl("~/images/con_buttom.png")%>) no-repeat;"></div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>

